-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(protocol-designer): add custom liquid color picker #10958
Conversation
Codecov Report
@@ Coverage Diff @@
## edge #10958 +/- ##
==========================================
+ Coverage 73.78% 74.06% +0.27%
==========================================
Files 2076 2034 -42
Lines 57332 56231 -1101
Branches 5731 5550 -181
==========================================
- Hits 42304 41645 -659
+ Misses 13790 13377 -413
+ Partials 1238 1209 -29
Flags with carried forward coverage won't be shown. Click here to find out more.
|
hey @sakibh is there any way for me to test this in PD? If not, could you send over a video? Thanks! |
Hey @mmencarelli, you can access this branch for PD here: http://sandbox.designer.opentrons.com/pd_add-color-picker/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, this is amazing!
K, the only change i can see here is that you have the hover state as the enabled state. So move the box shadow over to only appear on hover!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested this out and it works & looks great!
Could we have the box-shadow appear when the menu is active/open? Reference to design on Figma. Other than that, looks great! |
Overview
This PR adds a custom liquid color picker and field to the liquids page in Protocol Designer. closes #10573 , closes #10601
Co-authored by @smb2268
Note: still working on updating/adding tests
Changelog
react-color
displayColor
field to liquids page component and redux storeReview requests
Note: In order to access this new feature, enable the feature flag called
Enable liquid color enhancements
.Risk assessment
low, behind FF